package service;

import models.Plot;
import models.Tree;

public class ForestResearchInfo {
	public static Boolean createTree(Tree tree) {
		tree.save();
		return true;
	}

	public static Boolean deleteTree(Tree tree) {
		tree.delete();
		return true;
	}
	
	public static Tree getTree(Tree tree) {
		return Tree.getTree(tree);
	}

	public static Boolean createPlot(Plot plot) {
		plot.save();
		return true;
	}

	public static Boolean deletePlot(Plot plot) {
		plot.delete();
		return true;
	}
	
	public static Plot getPlot(Plot plot) {
		return Plot.getPlot(plot);
	}

}
